package tournamentmanager;

import junit.framework.TestCase;

class TournamentChecker {

    public static void checkTournamentMatchRunnerOptions(MockMatchRunner mockMatchRunner, Tournament tournament) {
        TestCase.assertEquals(tournament.getTimeControl(), mockMatchRunner.getTimeControl());
        TestCase.assertEquals(tournament.getTimeIncrement(), mockMatchRunner.getTimeIncrement());
        TestCase.assertEquals(tournament.getMovesPerSession(), mockMatchRunner.getMovesPerSession());
        TestCase.assertEquals(tournament.getOutPGNFile(), mockMatchRunner.getSaveGameFile());
    }

}
